Interaction Schemata: Compiling Interactions to Code
نویسندگان
چکیده
Programming object interactions is at the heart of object-oriented programming. To improve reusability of the interactions, it is important to program object interactions generically. We present two tools that facilitate programming of object interactions. StructureBuilder, a commercial tool, achieves genericity with respect to data structure implementations for collections, following ideas from generic programming, but focussing only on the four most important actions add, delete, iterate and find that are used to translate UML interaction diagrams into code. The focus of StructureBuilder is to generate efficient code from interaction schemata that are an improved form of interaction diagrams. DJ, a new research prototype intended for fast prototyping, achieves genericity with respect to the UML class diagram by dynamic creation of collections based on traversal specifications.
منابع مشابه
An Ethnographic Approach to Exploring Degree of Involvement in Oral Interactions: The case of L2 classrooms
Abstract One of the main concerns in educational settings has been the degree of the learners’ involvement in learning and the extent to which they actively participate in classroom talks and interactions. The present study is an emic-based ethnographic study aimed at providing insights about patterns of talk and different degrees of interaction in EFL university classes with a specific focus o...
متن کاملAn Ethnographic Approach to Exploring Degree of Involvement in Oral Interactions: The case of L2 classrooms
Abstract One of the main concerns in educational settings has been the degree of the learners’ involvement in learning and the extent to which they actively participate in classroom talks and interactions. The present study is an emic-based ethnographic study aimed at providing insights about patterns of talk and different degrees of interaction in EFL university classes with a specific focus o...
متن کاملCompiling CSP
CSP, Hoare’s Communicating Sequential Processes, is a formal language for specifying, implementing and reasoning about concurrent processes and their interactions. Existing software tools that deal with CSP directly are largely concerned with assisting formal proofs. This paper presents an alternative use for CSP, namely the compilation of CSP systems to executable code. The main motivation for...
متن کاملCompiling Declarative Specifications of Parsing Algorithms
The parsing schemata formalism allows us to describe parsing algorithms in a simple, declarative way by capturing their fundamental semantics while abstracting low-level detail. In this work, we present a compilation technique allowing the automatic transformation of parsing schemata to efficient executable implementations of their corresponding algorithms. Our technique is general enough to be...
متن کاملIssues in Compiling
We consider the state of the art in compiler construction and where to go from here. Main topics are improved exploitation of present (and future) hardware features, the interaction between compiling techniques and processor design, and the use of compiling techniques in application areas such as component-based software engineering and software reengineering.
متن کامل